/**
 * Copyright &copy; 2015-2020 <a href="http://www.jeeplus.org/">JeePlus</a> All rights reserved.
 */
package com.jeeplus.modules.customer.entity;


import com.jeeplus.core.persistence.DataEntity;
import com.jeeplus.common.utils.excel.annotation.ExcelField;

/**
 * 客户联系人Entity
 * @author 卢经纬
 * @version 2018-06-29
 */
public class CustomerContact extends DataEntity<CustomerContact> {
	
	private static final long serialVersionUID = 1L;
	private CustomerInformation customerInformation;		// 外键 父类
	private String name;		// 名字
	private String department;		// 部门
	private String tel;		// 电话
	private String job;		// 职务
	
	public CustomerContact() {
		super();
	}

	public CustomerContact(String id){
		super(id);
	}

	public CustomerContact(CustomerInformation customerInformation){
		this.customerInformation = customerInformation;
	}

	public CustomerInformation getCustomerInformation() {
		return customerInformation;
	}

	public void setCustomerInformation(CustomerInformation customerInformation) {
		this.customerInformation = customerInformation;
	}
	
	@ExcelField(title="名字", align=2, sort=8)
	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}
	
	@ExcelField(title="部门", align=2, sort=9)
	public String getDepartment() {
		return department;
	}

	public void setDepartment(String department) {
		this.department = department;
	}
	
	@ExcelField(title="电话", align=2, sort=10)
	public String getTel() {
		return tel;
	}

	public void setTel(String tel) {
		this.tel = tel;
	}
	
	@ExcelField(title="职务", align=2, sort=11)
	public String getJob() {
		return job;
	}

	public void setJob(String job) {
		this.job = job;
	}
	
}